home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1994 November / Cd Ware (Nro. 2) - Epimundo.iso / DOS / UD / BMATH1.ZIP / BATMATH.DOC < prev    next >
Encoding:
Text File  |  1994-05-24  |  1.4 KB  |  47 lines

  1.  
  2.                                Bath v1.0ß
  3.  
  4.                      (c)Copyright 1994 Renato Francisco
  5.  
  6.  
  7. BatMath - Simple Math for your .BAT files.
  8.  
  9.  
  10.      INTRO
  11.  
  12.         This small program allows you to add, subtract, multiply and divide
  13.         numbers right from the DOS prompt or within a batch file.
  14.         The results are placed as DOS Errorlevel that you can test in your
  15.         batch by using the "IF ERRORLEVEL" command. This way you can create
  16.         a break pointer so a loop in the batch will stop after that pointer
  17.         reaches an "x" value.
  18.         Due to  the limitations  of  DOS it self and it's  errorlevels this
  19.         version of BatMath is limited to a result in between 0 and 255.
  20.  
  21.  
  22.  
  23.      USAGE
  24.  
  25.         BATMATH  [1st. Number] [Operation] [2nd. Number]
  26.  
  27.         [1st. and 2nd. Numbers] - Any whole numbers that won't result in less
  28.         than 0 or more than 255 when exposed to the [Operation].
  29.  
  30.         [Operation] - Valid Commands: - (subtract)
  31.                                       + (add)
  32.                                       / (divide)
  33.                                       * (multiply)
  34.  
  35.  
  36.  
  37.      MORE INFO
  38.  
  39.  
  40.         If you need more information about this product or have any questions
  41.         or comments here's the e-mail stuff,
  42.  
  43.                         Renato Francisco
  44.                         rfrancis@gate.net
  45.                         CIS: 72123,2046
  46.  
  47.